Fix IE js error