Tag - Control Flow statements in javascript