DRYs formgroups javascript
Makes it more convenient to enter recurring allocations