fix bug in IE, remove the "indexOf" tag.