fix jshint warning