fix group by params update

Conflicts:
	fnordmetric-webui/fnordmetric-webui-layout.js
	fnordmetric-webui/fnordmetric-webui-util.js
small util function fixes
reuse functions

Conflicts:
	fnordmetric-webui/fnordmetric-webui-util.js