<script type="text/javascript"> $(window).load(function(){ $.ajax({ type: "GET", url: "/jquery-ui.min.js", cache: false, dataType: "script" }); }); </script>