Add JSHint support via `npm run lint`.

Also remove unneeded parentheses.
Update README.md.
Rename variable for consistency.
Add jshint check in npm test command.