fix jshint errors