make couple of jshint changes