getElementById('canvas');
          canvas.classList.remove('hidden');
          canvas.focus({preventScroll: true});
        }
      };
      Module.setStatus('Downloading...');
      window.onerror = function(event) {
        // TODO: do not warn on ok events like simulating an infinite loop or exitStatus
        Module.setStatus('Exception thrown, see JavaScript console');
        spinnerElement.classList.add('hidden');
        Module.setStatus = function(text) {
          if (text) console.error('[post-