Add jshint rules, cleanup