Array.prototype.indexOf shim for IE8