Use ExtJS polyfill for indexOf