Fix compatibility in old IE.