contextFactory.call(new ContextAction() {
@Override
public Object run(Context cx) {
cx.initStandardObjects(globalScope);
NodeRequireBuilder rb = new NodeRequireBuilder(asyncCallback, exitCallbackExecutor);
globalScope.installNodeJsRequire(cx,cx.newObject(globalScope),new NodeModuleProviderImpl(
new ArrayList<NodeModule>()),
rb, false);
Function nodeRequire = ScriptableObject.getTypedProperty(
globalScope, "require", Function.class);
NativeObject main = (NativeObject) nodeRequire.call(cx, globalScope, globalScope,