Fix #217 no Array::indexOf in IE<9, use RegExp::test

http://kangax.github.io/es5-compat-table/#Array.prototype.indexOf

Thanks @eoghanmcilwaine