 (outputElement) outputElement.value = ''; // clear browser cache
        return function (text) {
          output(text);
        };
      })(),
      printErr: (function () {
        if (outputElement) outputElement.value = ''; // clear browser cache
        return function (text) {
          output(text);
        };
      })(),
      onRuntimeInitialized: function () {
        output("WASM runtime has been initialized.");
        canvasContainerElement.classList.remove("hidden");
        spinnerElement.c