fix jshint findings