ContentUpdater.addCommentToPost("<%= @comment.post.guid %>", "<%= @comment.guid%>", "<%= escape_javascript(render(:partial => 'comments/comment', :locals => { :comment => @comment, :person => current_user.person}))%>"); Diaspora.page .stream .streamElements["<%= @comment.post.guid %>"] .commentStream .instantiateCommentWidgets();