fix issue #14

by adding an indexOf shim to Array for <=IE8