Add JSHint check via `npm run lint`.
Update .jshintrc to reflect the current code style and fix lint errors.