Use Ext.Array.indexOf not Array.prototype.indexOf.

This is especially important for e.g. IE 8, where the native array does
not have the indexOf method.