fix IE version detection in old IE