Template specific JS files must be located in
/assets/js/templates and named like the template.
If you want the JS files to be loaded asynchronously (if supported by the browser), you can set a second parameter to
This also works with an array of paths:
You can also pass an array of completely custom attributes like the