Bit of code cleanup
Add jshint
Fix up some jshint issues