correct jshint errors