fixing jshint error