docs: function updateIfNodeValueChanged(currentNode, newNode){
      var nodeValueChanged = newNode.nodeValue !== currentNode.nodeValue;
      if (nodeValueChanged) {
        $(currentNode).replaceWith(newNode);
      }
    }