Added missing polyfill for Array.isArray()