Javascript Semicolon After If Statement