Potential IE8 problem when getting the head