Out of the box, this developer has a couple different options:
Use JSGroupings Extension
Adding script tags to page dynamically
You could add script tags to your Handlebars template or via a Sidecar controller. But this approach adds a bunch of ugly complexity to your code as you have to manage many routine tasks related to loading scripts.
Providing another way!