add README.md text
client: add comments, fix detect function name
Merge pull request #1 from dotfold/browserify

merge test from browserify branch