if (!window.WeakMap || !window.Promise) { window.unsupportedBrowser = true; }