Add JSHint support via `npm run lint`.
Fix JSHint errors.