Add .jshintrc and jshint-based fixes