Include Css / Js Code https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Page/Index.html#includejs-array
includeJS {
file1 = fileadmin/helloworld.js
file1.type = application/x-javascript
# Include a second file, but only if myConstant is set
# in the TS constants field.
file2 = javascript_uploaded_to_template*.js
file2.if.isTrue = {$myConstant}
}