Define JSHint configuration on .jshintrc and validate the code

Add the global pathoschild.