/**
 * Trimmed addEventListener polyfill for IE8 and below.
 * See MDN @ https://developer.mozilla.org/en-US/docs/Web/API/Window.postMessage
 */
(function() {
  'use strict';

  if (!window.Event.prototype.preventDefault) {
    window.Event.prototype.preventDefault = function() {
      this.returnValue = false;
    };
  }
  if (!Element.prototype.addEventListener) {
    var eventListeners = [];

    var addEventListener = function(type, listener /*, useCapture (will be ignored) */) {
      var self = this;
      var wrapper = function(e) {
        e.target = e.srcElement;
        e.currentTarget = self;
        if (listener.handleEvent) {
          listener.handleEvent(e);
        } else {
          listener.call(self,e);
        }
      };
      this.attachEvent('on' + type, wrapper);
      eventListeners.push({
        object: this,
        type: type,
        listener: listener,
        wrapper: wrapper
      });
    };
    var removeEventListener = function(type, listener /*, useCapture (will be ignored) */) {
      var counter = 0;
      while (counter < eventListeners.length) {
        var eventListener = eventListeners[counter];
        if (eventListener.object == this && eventListener.type == type && eventListener.listener == listener) {
          this.detachEvent('on' + type, eventListener.wrapper);
          break;
        }
        ++counter;
      }
    };
    Element.prototype.addEventListener = addEventListener;
    Element.prototype.removeEventListener = removeEventListener;
    if (window.HTMLDocument) {
      window.HTMLDocument.prototype.addEventListener = addEventListener;
      window.HTMLDocument.prototype.removeEventListener = removeEventListener;
    }
    if (window.Window) {
      window.Window.prototype.addEventListener = addEventListener;
      window.Window.prototype.removeEventListener = removeEventListener;
    }
  }
})();
@@ -1875,10 +1875,104 @@
 %0A  %7D
+%0A%0A  // simple console.log polyfill%0A  window.console = window.console %7C%7C %7Blog: function() %7B%7D%7D;
 %0A%7D)();
+%0A

Add polyfill for console to fix IE compatibility