docs: function nodeCollector(aRoot) {
    this._root = aRoot.wrappedJSObject ? aRoot.wrappedJSObject : aRoot;
    this._document = this._root.ownerDocument ? this._root.ownerDocument : this._root;
    this._nodes = [ ];
  }