Fix all static analysis problems with refactor in transaction.js