Add polyfill for Array.prototype.findIndex