Create view join group, out group with ajax