Custom macro : load javascript library

Is it possible to load javascript with the VTL macro language? Our javascript would be a library which is either self hosted or accessible via a CDN.
What is the classical approach if we want to do that? E.g. load (java)script that is normally loaded in the HEAD tag of a HTML page.