Tidied up javascript spacing and comparison operators
Merge pull request #2 from granttimmerman/master

Tidied up javascript spacing and comparison operators