Cleaning up w jshint and tests