text: (function ($) {  
  
    $(function(){
      $(document).foundationAlerts();
      $(document).foundationButtons();
      $(document).foundationAccordion();
      $(document).foundationNavigation();
      $(document).foundationCustomForms();
      $(document).foundationTabs({callback:$.foundation.customForms.appendCustomMarkup});
      
      $(document).tooltips();
      $('input, textarea').placeholder();
      
      // UNCOMMENT THE LINE YOU WANT BELOW IF YOU WANT IE8 SUPPORT AND ARE USING .block-grids
      // $('.block-grid.two-up>li:nth-child(2n+1)').css({clear: 'left'});
      // $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'left'});
      // $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'left'});
      // $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'left'});
    });
    
  })(jQuery);
  