of the document document.getElementsByTagName('head')[0].appendChild(link); }