anchor.diff:            success : function(html) {      
               $('.loader_pagination').hide();
               $("#categories_tab_ready").append(html);
  -            re_apply_pageless("categories");
  +            re_apply_pageless("categories_tab");
             },
             error: function(){
               //console.log("error loading categories");
  
positive.code: <%= content_for :javascript do %>
  
    var excursions_tab_loaded = false;
    
    $("#excursions_tab").click(function(){
      if(excursions_tab_loaded === false){
  
negative.code:     }
    });
  
    
    $("#resources_tab").click(function(){
      if(resources_tab_loaded===false){
        $('.loader_pagination').show();
  