This adds a polyfill for Array.prototype.findIndex