fix IE version detection in old IE
Merge pull request #2653 from SergioCrisostomo/ie-version-fix

fix IE version detection in old IE