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

    $('.collapsible').collapsible();
    $('.button-collapse').sideNav({
      menuWidth: 300, // Default is 240
      edge: 'right', // Choose the horizontal origin
      closeOnClick: true // Closes side-nav on <a> clicks, useful for Angular/Meteor
    }
  }); // end of document ready
})(jQuery); // end of jQuery name space
(function($){
  $(function(){

    $('.collapsible').collapsible();
    $('.button-collapse').sideNav({
      menuWidth: 300, // Default is 240
      edge: 'right', // Choose the horizontal origin
      closeOnClick: true // Closes side-nav on <a> clicks, useful for Angular/Meteor
    });
  }); // end of document ready
})(jQuery); // end of jQuery name space
fix );