Fix js for jshint