budgetapp.js - smoothed out mongo queries