Fixed a missing semicolon.
Changed to be consistently only spaces.
Triple equality is faster in v8 (doesn't need to cast)
Removed unnecessary semicolon.
Added missing semicolon.