Fix patch collision
make compatible with browserify through package.json and UMD
Merge pull request #13 from linxmix/master

make compatible with npm and browserify