fix js error in IE