Is there any particular reason this is here instead of discussion_thread_view_inline? I think it would make the most sense to have scrollToAddResponse defined on DiscussionThreadView and then use it from both that and DiscussionThreadInlineView (which inherits from it).