index.js
function replaceNode(replacementNode, node) {
  remove(replacementNode)
  node.parentNode.insertBefore(replacementNode, node)
  remove(node)
}
function replaceNode(replacementNode, node) {
  remove(replacementNode)
  node.parentNode.insertBefore(replacementNode, node)
  remove(node)
}
function replaceNode ( replacementNode , node ) { remove ( replacementNode ) node . parentNode . insertBefore ( replacementNode , node ) remove ( node ) }
replace `node` with `replacementNode`
replace node with replacementNode