Fix typo, simplify a legacy IE check