Add jshint and an npm script to run it on a loop, make some updates based on linter outputs