added totals with JS to payments and disbursements