 canvas: (function () {
          var canvas = document.getElementById("canvas");
          return canvas;
        })(),
        setStatus: function (text) {},
        monitorRunDependencies: function (left) {},
      };
      window.onerror = function () {
        console.log("onerror: " + event.message);
      };

      Module.onRuntimeInitialized = function () {
        // Set loading background image
        const blob = new Blob([FS.readFile("/loading.jpg")], {
          type: "image/jpg",
        });
