cleaning up jshint warnings