Added .jshintrc
Fixed jshint warnings