cleaned up jshint warnings