Fix for #1623, missing `indexOf` error in Loader

`Array.prototype.indexOf` doesn't exist in oldIE - this replaces it with the shim in `Y.Array.indexOf`.