IE indexOf fix again, this time without breaking every other browser
Merge pull request #3291 from lukemelia/ie-index-of-fix-moar-compat

IE indexOf fix again, this time without breaking every other browser