this.afterInit();
}
public void init() {
Context cx = Context.enter();
injectDefineScript = new InjectDefineScript(this);
ScriptableObject globalScope = this.getJavaScriptEngine().getGlobalScope();
globalScope.put("global", globalScope, globalScope);
Require require = this.createRequire(cx, globalScope);
require.install(globalScope);