I wasn't sure Array.prototype.indexOf was supported on IE9. It looks like it is: http://kangax.github.io/es5-compat-table/#Array.prototype.indexOf.