add a .jshintrc file to configure the grunt jshint task
fix jshint errors