making jshint pass