more jshint options added, and resulting errors cleaned up