adds a helper for aggregate functions
Merge remote-tracking branch 'origin/master'
adds dmax function on JO entry form