I have a site in Laravel where the content is loaded dynamically with AJAX, that is, in each call Laravel returns only the view of the part that I need, on a certain page I need to initialize a jQuery plugin that I only use on this page . If I initialize this plugin on all calls will work, but I'll end up creating an unnecessary overhead. What is the best method of passing this JS function call when I call that page to happen?