update tutorial in line with new bitcoinjs-lib api