Fix invalid html for groupBy and countBy examples