(function($) {
jQuery.fn.carouselFix = function() {
   return this.each(function() {
      var jNode = $(this);
      var pWidth = null;
      jNode.find('.carousel-pagination a').each(function(){
          $(this).html('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
          pWidth += $(this).width();
      });
      jNode.find('.carousel-pagination a').parent()./*width(pWidth*2).*/append('<div class="clear"></div>');
   });
};
})(jQuery);

