used gjslint's fixjsstyle and jshint to fix style changes and errors throughout the codebase
Merge pull request #1799 from mbroadst/clean-style

fix library style based on gslint and jshintrc