changed test to detect old IE