Style-wise, I would change this to...

    @navBoxUl.append """
      <li class="title_list_item"><a href="##{@mainTitle.attr('id')}">#{@mainTitle.text()}</a></li>
      """

Just my personal preference.