add the workaround since low IE not support indexOF