Changed check for IE conditions.