jshint cleanups

- equality operators
- missing/excess semicolons
- trailing whitespace
Merge pull request #47 from mduggan/jshint

jshint cleanups