Add Support for `advanced` JavaScript Statements

Support JavaScript Statements like if - else if - else and do - while