fixed IE error
fixed js error