Hello @vitor45 ,
Not sure what your script will do, but still from my assumption of some use case you can add your script,
If the JS is related to any specific component (except the page component) then you can add this via,
<sly data-sly-use.clientlibs="${'com.adobe.cq.wcm.core.components.models.Cl...