code: function(elem, child) {
  		if (child) {
  			if (elem.nodeType === 8) { // comment
  				if (child.nodeType === 3) { // text node
  					elem.nodeValue += child.nodeValue;
  				}
  
  			} else if (elem.canHaveChildren !== false) {
  				elem.appendChild(child);
  			}
  		}
  	}
docs: Appends a child to an element
  
  @private
  @param {Node} elem The parent element
  @param {Node} child The child