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

Remove deprecated JSHint options.

Fix lint errors.