WIP deposit: several fixes

Can we load datepicker options (not only the format) from data attributes so that it can be customized per field.