Fix page loading for IE9/8