cleaned up jshint errors