(function($){
  $(function(){

    $('.parallax').parallax();
    $('.scrollspy').scrollSpy();
    $('.collapsible').collapsible();
    // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
    $('.modal-trigger').leanModal();
    $('.dropdown-button').dropdown({
      constrain_width: false, // Does not change width of dropdown to that of the activator
      hover: true, // Activate on hover
    }
  );


  }); // end of document ready
})(jQuery); // end of jQuery name space
@@ -1,21 +1,23 @@
-(function($)%7B%0A  $
+$( document ).ready
 (fun
@@ -25,19 +25,16 @@
 tion()%7B%0A
-%0A  
   $('.pa
@@ -444,76 +444,10 @@
  );%0A
-%0A%0A  %7D); // end of document ready%0A%7D)(jQuery); // end of jQuery name space
+  %0A%7D)%0A

Update init.js