code: function replace(oldNode, newNode){
      return oldNode[PARENT_NODE] ? oldNode[PARENT_NODE].replaceChild(newNode, oldNode) : oldNode;
    }
docs: Replace oldNode for newNode and returns oldNode.
  @param {Node} oldNode
  @param {Node} newNode
  @return {Node}