Make IE10 detection safer for older IEs