use underscore indexOf for  <= IE8
Merge pull request #85 from lovetheidea/patch-1

use underscore indexOf for  <= IE8