Loading Activities Template in Group Forums Page – ajax issues

Seems like the javascript isn’t being recognized – perhaps it’s the div containers the activities container is in?

TLDR; I put a function that calls activities in group forum topics.php page. The activity stream displays but ajax for commenting doesn’t hide comments and doesn’t post comments to database.

I can see why the comment post doesn’t connect to database – the wrong form post method is generated – <form id=”forum-topic-form” class=”standard-form” method=”post” action=”/groups/mystery/forum/topic/the-diner-featured-story-1/?stories=1″>