title: InvalidStateError in internet explorer 11 during blob creation
body: <p>I'm getting an <code>InvalidStateError</code> at the blob creation line on IE 11. Needless to say, it works in Chrome and Firefox. 
  I can see that the binary data is my client side. Are there any alternatives to download this as a file?  </p>
  
  <pre><code>var request = new ActiveXObject("MicrosoftXMLHTTP");
  request.open("post", strURL, true);
  request.setRequestHeader("Content-type", "text/html");
  addSecureTokenHeader(request);
  request.responseType = 'blob';
  
  request.onload = function(event) {
      if (request.status == 200) {
          var blob = new Blob([request.response], { type: 'application/pdf' });
          var url = URL.createObjectURL(blob);
  
          var link = document.querySelector('#sim');
          link.setAttribute('href', url);
  
          var filename =  request.getResponseHeader('Content-Disposition');
          $('#sim').attr("download", filename);
          $(link).trigger('click');
          fireEvent(link, 'click');
      } else {
          // handle error
      }
  }
  </code></pre>