valid jshint, getting rid of coffeescript code
still validation