context lost. You will need to reload the page.');
          e.preventDefault();
        }, false);

        return canvas;
      })(),
      totalDependencies: 0,
      monitorRunDependencies: (left) => {
        Module.totalDependencies = Math.max(Module.totalDependencies, left);
        output(`${Module.totalDependencies - left}/${Module.totalDependencies} dependencies loaded`);
      }
    };
    window.onerror = () => {
      Module.print('Exception thrown, see JavaScript console');
      spinnerElemen