another IE bug fix

use `indexof` instead of `Array#indexOf`
Merge pull request #5 from stephenmathieson/fix/ie-array-indexof

another IE bug fix