code: function appendToHead(document, tagName, attrs) {
  	var elt = document.createElement(tagName);
  	DOMDataUtils.addAttributes(elt, attrs || Object.create(null));
  	document.head.appendChild(elt);
  }
docs: Create an element in the document.head with the given attrs.