added node/browser shim
added package.json
Merge pull request #8 from alexanderbeletsky/master

Browser/node shim and package.json for npm