fix(IE): fix for old IEs that don't support document.head