cleaned up jshint errors and api