fix a js syntax IE bug