Add JS Code style tests

* fix #149
* fix #166