Added chief-groups javascript.