code style fixes; updated .jshintrc