Add JS Code style tests

* fix #149
* fix #166
Merge pull request #167 from mozilla/add-jscs

Add JS Code style tests