Replacing usage of native indexOf with its underscore analog. This allows the script to be used in ie7 and ie8.
Merge pull request #142 from GeorgeErickson/master

Native indexOf breaks internet explorer.