WIP: getting statistic to show in group page using ajax