Make group buttons selectable with javascript.