function remove (node) {
  var next = node.nextSibling || node.parentNode;

  node.parentNode.removeChild(node);

  return next
}
remove(node) removes the given node from the DOM and returns the
next node in the sequence.

@param {Node} node
@return {Node} node