Array.prototype.indexOf polyfill work in progress