Adjustments to .jshintrc, updated Gruntfile, and minor syntax changes in scripts/*/js files.