fix IE setTimeout issue