Change the way of loading the transaction.js