Added the missing .jshintrc file and cleaned up some linting errors