docs: function (ctx, obj, type, callback) {
          if (arguments.length === 3) {
              callback = type;
              type = obj;
              obj = window.document;
          }
  
          //retrieve anonymous function
          var id = ctx[0] || "",
              afn = this._events[id + obj + type + callback];
  
          if (afn) {
              if (obj.detachEvent) {
                  obj.detachEvent('on' + type, afn);
              } else obj.removeEventListener(type, afn, false);
              delete this._events[id + obj + type + callback];
          }
      }