jshint fixes
fixed all but 3 lint errors