Bring back "My Groups" ajax request in Groups Directory

Since r8378, a javascript error was preventing this ajax request to happen and the user was directed to his groups profile page.

Fixes #5670

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8470 cdf35c40-ae34-48e0-9cc9-0c9da1808c22