Added jshint for npm.

Run it: npm run lint

Another task will have to be created to fix all these errors.