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