To include javascript from the API, simply load it into your HTML using
a script tag. Alternatively you can use an javascript loader. Always refer to
the package using the @@package@@ syntax. This allows Cockpit to
optimize and cache multiple uses of the same resources.