Add jshint and fix formatting