new group js class