cleaning up some jshint warnings