Require require = this.createRequire(cx, globalScope);
require.install(globalScope);
this.raptor = (ScriptableObject) this.getJavaScriptEngine().invokeMethod(globalScope, "require", "raptor");
injectDefineScript.setRaptor(raptor);
this.resourceManager.addSearchPathEntry(new ClasspathSearchPathEntry(RaptorJSEnv.class, "/META-INF/resources"));
this.rhinoHelpers = this.createRhinoHelpers();
jsEnv.setGlobal("__rhinoHelpers", this.rhinoHelpers);