remove `indexof` dep

it's not used anywhere, so why require it? :p
Merge pull request #1 from stephenmathieson/remove-indexof-dep

remove `indexof` dep