Feature/browser support

Same pull request as this: https://github.com/gasteve/node-soop/pull/3

...except to the bitpay repo instead of the gasteve repo.