Got rid of unsupported method Array.prototype.indexOf