Since I have no idea about clojurescript, I cannot give you the right solution in clojurescript, but jQuery and jQuery UI should not be so wasteful.
You can enable jQuery library using Google CDN . Many websites use this source, so the file is cached and will not load again and again. See this link.
//you can of course easily change the version you want to use, like 1.9.1 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script
the same could be done for jQuery UI
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
But if you just want to use the sortable jQuery UI widget, you can just use Download Builder . Just clear the Switch All checkbox under Components, and then select the Sort checkbox in the Interactions. Download the customized jQuery user interface version and all you need to enable is the jquery-ui-1.10.3.custom.min.js . Download Builder also downloads a CSS theme, but for a sortable widget I donβt see the need to enable it.
But actually incorporating the jQuery UI from the Google CDN is also a good choice. If you host libraries locally, your users should download them at least once. If you use Google, most users will not need to upload files. (if the version is no different)
Just a suggestion if nothing can help in clojurescript.
source share