code: function updateIfNodeValueChanged(currentNode, newNode){
      var nodeValueChanged = newNode.nodeValue !== currentNode.nodeValue;
      if (nodeValueChanged) {
        $(currentNode).replaceWith(newNode);
      }
    }
docs: /*
  Swap method for Text, Comment, and CDATA Section Nodes
  @param currentNode {Node} The pre-existing DOM Node to update
  @param newNode {Node} The detached DOM Node representing the desired DOM Node subtree