fixing jshint issue