updated example.js with sendBitcoin