Stupid basic jshint check in npm test

And a couple lint fixes