indent comment with tab rather than spaces to conform with all other indentation in the file
add missing semicolon
use !== to conform with coding practice in all other inequality comparisons in the file
rm unneeded null check
streamline function
revert controversial != -> !==
Merge pull request #426 from Trott/linting-cleanup

Linting cleanup