$(document).ready(function (){
    $(window).scroll(function() {                
        if( $(window).scrollTop() > 55 ){
            $('.xnav').addClass('addshadow');
        }else{
            $('.xnav').removeClass('addshadow');
        }
    });
    $('img').click(function(){
        location.assign('http://loka.com');
    });
});

@@ -1,8 +1,39 @@
+//once the document is loaded %0A
 $(docume
@@ -51,24 +51,70 @@
 unction ()%7B%0A
+    //if you want to add scroll down effects %0A
     $(window
@@ -208,207 +208,58 @@
     
- $('.xnav').addClass('addshadow');%0A        %7Delse%7B%0A            $('.xnav').removeClass('addshadow');%0A        %7D%0A    %7D);%0A    $('img').click(function()%7B%0A        location.assign('http://loka.com');%0A    %7D);
+%0A        %7Delse%7B%0A           %0A        %7D%0A    %7D);%0A    
 %0A%7D);

fix javascript file