the rowGrouping is a jshint mess: some cleanup