Update js to associate maps with group buttons