code: function remove(node) {
      var next = node.nextSibling || node.parentNode;
  
      node.parentNode.removeChild(node);
  
      return next;
  }
docs: remove(node) removes the given node from the DOM and returns the
  next node in the sequence.
  
  @param {Node} node
  @return {Node} node