Add groups to HTML view