Fix for jshint errors breaking the grunt build.

After downloading, installing and running 'grunt' the build process was unsuccessful because of a few jshint errors.  Adding 'use strict' fixed one, but other libs don't conform, so I wrapped each class in it's own scope.