added Array.isArray to shim