Adding jshintrc, and fixing some linting issues.
Readme updates