RequireJS - working in browser, but not grunt/node.
Fixed grunt tests as per https://github.com/jrburke/requirejs/issues/618#issuecomment-18097343