title: "Unhandled promise rejection TypeMismatchError" in internet explorer 11
body: <p>I am using a port for javascript bases on potrace: <a href="https://github.com/kilobtye/potrace" rel="nofollow noreferrer">https://github.com/kilobtye/potrace</a>
  this library converts images to svg
  Everything works except for(ofcourse...) internet explorer 11.
  i get the error: "Unhandled promise rejection TypeMismatchError"</p>
  
  <p>There is hardly anything that can be found about this library so i would hope any of you code guru's could help me out.</p>
  
  <p>Here is the code i use:
  value is a base64 string of a image</p>
  
  <pre><code>    static changeLogo(value) {
          $("#svg-image svg, #svg-image svg").empty();
          Potrace.loadImageFromUrl(value);
          Potrace.process(function () {
              let svgImage = Potrace.getSVG(1);
              $("#svg-image").append(svgImage);
          })
      }
  </code></pre>