Update Transaction.js

Global leak fix
Merge pull request #496 from digitaltangibletrust/master

Update Transaction.js