Updated grunt script, keeping qunit out of automation for now since phantomjs fails when installing dev dependencies. Updated JS for JSLint compliance.