group js bug