Swap long lines in JavaScript.
Don't use number as boolean (style fix).