Define JSHint configuration on .jshintrc and validate the code

* Add missing semicolon