Bitcoin address implementation for NodeJS and browsers