// execute your scripts when the DOM is ready. this is mostly a good habit $(function() { // initialize scrollable $(".scrollable").scrollable(); });