Most Atlassian products have AUI installed as a plugin. The flat pack is great for prototyping or deploying in apps which can't load a plugin.
Serve from CDN
Using the CDN will make your pages load faster and resources won't be out of date.
Download the static files and bundle it in your project like any other resources.