code: function removeEvent(target, name, callback, capture) {
        if (target.removeEventListener) {
          target.removeEventListener(name, callback, capture || false);
        } else if (target.detachEvent) {
          target.detachEvent('on' + name, callback);
        }
      }
docs: Unbinds a native event callback on the specified target.