Converted XPCJSRuntime to use NewChannel2