Added Array.indexOf shim