text: (function ($) {
    ("use strict"); // Start of use strict
  
    // Activate wow.js
    new WOW().init();
  
    // Closes responsive menu when a scroll trigger link is clicked
    $(".js-scroll-trigger").click(function () {
      $(".navbar-collapse").collapse("hide");
    });
  
    $(document).scroll(function () {
      var $nav = $(".navbar.fixed-top");
      if ($(this).scrollTop() > $nav.height() + 300) {
        $('#toTop').css('display', 'block');
      } else {
        $('#toTop').css('display', '');
      }
    });
  
    var lightbox = $("#portfolio a").simpleLightbox();
  
    // Collapse Navbar
    var navbarCollapse = function () {
      if ($("#mainNav").offset().top > 100) {
        $("#mainNav").addClass("navbar-scrolled");
      } else {
        $("#mainNav").removeClass("navbar-scrolled");
      }
    };
    // Collapse now if page is not at top
    navbarCollapse();
    // Collapse the navbar when page is scrolled
    $(window).scroll(navbarCollapse);
  })(jQuery); // End of use strict
  