upgrade bitcoinjs-lib
remove unused variables