Fix ce98ea08d5c866653ccc4ba1052a394fd4c830a3 on IE8

Array.prototype.indexOf isn't defined on IE8