use git dependency for type
works in browserify now
Merge pull request #5 from juliangruber/browserify

works in browserify now