Port "Managing Groups" for Javascript (English)