rationInfo.retrieveOEMRegisrationInfo").then((registrationInfo) => {
                    this.oemRegistrationInfo = JSON.parse(registrationInfo);
                }));

                promises.push(bridge.invoke("CloudExperienceHost.MSA.getUserInfo").then((userInfo) => {
                    this.userInfo = userInfo;
                }));

                promises.push(bridge.invoke("CloudExperienceHost.Globalization.GeographicRegion.getAll").then((regions) => {
                    this.regions = regions;
                }));

                return WinJS.Promise.join(promises);
            });
        },
        error: function oemPageError(e) {
            // Look for an error object from our set of init promises and unpack that if we find one.
            if (e.initResult && e.initResult.length > 0) {
                e.initResult.forEach((result) => {
                    if (result && result.number) {
                        e = result;
                    }
                });
            }
            require(['legacy/bridge', 'legacy/events', 'legacy/core'], (bridge, constants, core) => {
                bridge.invoke("CloudExperienceHost.Telemetry.logEvent", "OEMRegistrationPageLoadFailure", core.GetJsonFromError(e));
                bridge.fireEvent(constants.Events.done, constants.AppResult.error);
            });
        },
        ready: function oemPageReady(element, options) {
            return requireAsync(['lib/knockout', 'jsCommon/knockout-helpers', 'legacy/bridge', 'legacy/events', 'oobeoemregistration-vm']).then((modules) => {
                // Setup knockout customizations
                window.KoHelpers = modules.jsCommon_knockout_helpers;
                let ko = modules.lib_knockout;
                let koHelpers = new KoHelpers();
                koHelpers.registerCustomComponents();

                // Apply bindings and show the page
                let vm = new modules.oobeoemregistration_vm(this.resourceStrings, this.regions, this.oemRegistrationInfo, this.userInfo);
                ko.applyBindings(vm);
                KoHelpers.waitForInitialComponentLoadAsync().then(() => {
                    WinJS.Utilities.addClass(document.body, "pageLoaded");
                    modules.legacy_bridge.fireEvent(modules.legacy_events.Events.visible, true);
                    KoHelpers.setFocusOnAutofocusElement();
                    vm.startVoiceOver();
                });
            });
        }
    });
})();