Try require.js

* Show how to load jQuery.cookie.js & jQuery.bPopup.js