anchor.diff:  
         <div class="tab-pane <%=params[:tab]=='resources' || nil ? 'active':''%>" id="tab3">
           <%= render partial: 'users/order_by_dropdown_resources' %>
  +        <% if params[:tab] == 'resources'%>
           <% default_sort_by = profile_subject_is_current? ? "updated_at" : "popularity"%>
             <%= render partial: 'repositories/profile_resources', :locals => {:scope => :me, :limit => 0, :page=> 1, :sort_by=> params[:sort_by]||default_sort_by}%>
  +          <%end%>
           <div id="resources_tab_ready"></div>
           <div class="loader_pagination" style="display:none">
             <div id="pageless-loader" style="text-align:center;width:100%;">
  
positive.code:           //console.log("error loading excursions");
          }
        });
    }
      re_apply_pageless("excursions");
    });
  
    var resources_tab_loaded = false;
  
negative.code:       </div>
  
        <div class="tab-pane <%=params[:tab]=='categories' || nil ? 'active':''%>" id="tab4">
          <%if params[:tab] == 'categories'%>
          <% default_sort_by = profile_subject_is_current? ? "updated_at" : "popularity"%>
            <%= render partial: 'categories/profile_categories', :locals => {:scope => :me, :limit => 0, :page=> 1, :sort_by=> params[:sort_by]||default_sort_by}%>
            <%end%>
          <div id="categories_tab_ready"></div>
          <div class="loader_pagination" style="display:none">
            <div id="pageless-loader" style="text-align:center;width:100%;">
  