use UMD, grunt, jshint, mocha/chai, run tests in phantomjs and node