Use indexOf shim from Intl polyfill

This also fixes the Sauce badge.