Added an js initializer for posible errolled in groups