JS on group working, user groups displaying