Conditional statement for IE was mistaken