Skull.Tabs = {
  selectTab: function($tab, $tabContent){
    $tab.siblings('.selected').removeClass('selected');
    $tab.addClass('selected');
    $tabContent.siblings(':visible').hide();
    $tabContent.show();
    this.trigger('selectTab');
  },

  onTabClick: function(event){
    var $tab = $(event.target);
    console.log($tab)
    var $tabContent = this.$($tab.data('target'));
    this.loadTab($tabContent);
    this.selectTab($tab, $tabContent);
    return false;
  },

  loadTab: function($tabContent){
    var that = this;
    if($.trim($tabContent.html()) == '' && $tabContent.data('path')){
      $.get($tabContent.data('path')).success(function(data){
        $tabContent.html(data);
      });
    }
  }
};


Skull.Tabs = {
  selectTab: function($tab, $tabContent){
    $tab.siblings('.selected').removeClass('selected');
    $tab.addClass('selected');
    $tabContent.siblings(':visible').hide();
    $tabContent.show();
    this.trigger('selectTab');
  },

  onTabClick: function(event){
    var $tab = $(event.target);
    var $tabContent = this.$($tab.data('target'));
    this.loadTab($tabContent);
    this.selectTab($tab, $tabContent);
    return false;
  },

  loadTab: function($tabContent){
    var that = this;
    if($.trim($tabContent.html()) == '' && $tabContent.data('path')){
      $.get($tabContent.data('path')).success(function(data){
        $tabContent.html(data);
      });
    }
  }
};


Remove console.log from tags script
Remove console.log from tags script
