function createTextNode(value, owner) {
  var element = ownerDocument(owner).createTextNode(value);
  if (owner) {
    appendChild(owner, element);
  }
  return element;
}
Creates a text node with the given value.

@param {String} value  The text to place in the new node.
@param {Element} owner The owner (i.e., parent element) of the new
text node.
@return {Text}  The newly created text node.