Minor cleanup

* Add jshint rules
* Remove dead requires & functions
* Fix some semicolon errors