another IE8 polyfill: Array.prototype.indexOf