change bitcoinjs-lib.Transaction instead inheritance class