remove empty blocks
reset property by assigning null
use logical OR instead of bitwise OR
remove extra comma
remove unnecessary semicolon
simplify comparison
add missing semicolon
Merge pull request #1697 from mauk81/jshint

jshint errors (missing semi-colons, trailing commas, etc)