dev make js for totals work when creating new or deleting
dev add calendar; fix totals; other changes