transactions.js - replaced dependency on account with one one the account_id only