Fix IE8 detection