fix jshint violations