Use underscore's indexOf, as IE8 doesn't have it

Fixes regression in that thing I just did.