Got jshint running in Gruntfile and added a watch task, then cleaned up a bunch of jshint errors and warnings.