wraps refactor of bank_account.js