Add JSHint support via `npm run lint`.
Update README.md.
Rename variable for consistency.
Add jshint check in npm test command.
Remove extra spaces from README.md.