Add jshintrc file. Fix jshint warnings