Refactoring to appease jshint
Updates to README.md