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

Fixes regression in that thing I just did (@16effc88ff4802ebaa467e6faf0bf23a8f2790c7)