document.head is not present on IE