document.head does not exist in ie8 & lower.