code: function _onChildNodeRemoved(event, res) {
          // res = {parentNodeId, nodeId}
          if (res.nodeId > 0) {
              var node = nodeWithId(res.nodeId);
              node.remove();
          }
      }
docs: WebInspector Event: DOM.childNodeRemoved