// Freelancer Theme JavaScript

(function($) {
    "use strict"; // Start of use strict

    // jQuery for page scrolling feature - requires jQuery Easing plugin
    $('.page-scroll a').bind('click', function(event) {
        var $anchor = $(this);
        $('html, body').stop().animate({
            scrollTop: ($($anchor.attr('href')).offset().top - 50)
        }, 1250, 'easeInOutExpo');
        event.preventDefault();
    });

    // Highlight the top nav as scrolling occurs
    $('body').scrollspy({
        target: '.navbar-fixed-top',
        offset: 51
    });

    // Closes the Responsive Menu on Menu Item Click
    $('.navbar-collapse ul li a').click(function(){ 
            $('.navbar-toggle:visible').click();
    });

    // Offset for Main Navigation
    $('#mainNav').affix({
        offset: {
            top: 100
        }
    })

    // Floating label headings for the contact form
    $(function() {
        $("body").on("input propertychange", ".floating-label-form-group", function(e) {
            $(this).toggleClass("floating-label-form-group-with-value", !!$(e.target).val());
        }).on("focus", ".floating-label-form-group", function() {
            $(this).addClass("floating-label-form-group-with-focus");
        }).on("blur", ".floating-label-form-group", function() {
            $(this).removeClass("floating-label-form-group-with-focus");
        });
    });

})(jQuery); // End of use strict

@@ -23,16 +23,872 @@
 vaScript
+%0A        var countDownDate = new Date(%22Aug 24, 2017 19:00:00%22).getTime();%0A%0A        var x = setInterval(function () %7B%0A            var now = new Date().getTime();%0A            var distance = countDownDate - now;%0A            var days = Math.floor(distance / (1000 * 60 * 60 * 24));%0A            var hours = Math.floor((distance %25 (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));%0A            var minutes = Math.floor((distance %25 (1000 * 60 * 60)) / (1000 * 60));%0A            var seconds = Math.floor((distance %25 (1000 * 60)) / 1000);%0A%0A            document.getElementById(%22countdown%22).innerHTML = days + %22 days %22 + hours + %22 hours %22 + minutes + %22 minutes %22 + seconds + %22 seconds %22;%0A%0A            if (distance %3C 0) %7B%0A                clearInterval(x);%0A                document.getElementById(%22countdown%22).innerHTML = %22Let the show begin!%22;%0A            %7D%0A        %7D, 1000);
 %0A%0A(funct

Update freelancer.js