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