Add compatibility shim for Array.indexOf in IE8
Merge pull request #40 from barrkel/patch-1

Add compatibility shim for Array.indexOf in IE8