I see in file /skins/default/templates/question.html, there is this line
askbot['functions']['renderAddCommentButton'] = render_add_comment_button;

and lower in the same file there is the definition of render_add_comment_button. Is that you re looking for?