Array.prototype.indexOf is missing in IE 8