function domCreateElement(doc, name) {
  return doc.createElement(name);
}
Creates a new node in the given document

@param {Document} doc  Target document.
@param {String} name  Name of new element (i.e. the tag name)..
@return {Element}  Newly constructed element.