right name for indexof dep
works with browserify now
Merge pull request #8 from juliangruber/browserify

works with browserify now