cleaned up a lot of jshint errors. published to dist.