Add .jshintrc and fix jshint errors
Merge pull request #23 from quaertym/jshint

Add .jshintrc and fix jshint errors