Is javascript use API restricted on aem cloud
I have a js file with a helper function however whenever i am trying to include it in my html , it breaks the page. <sly data-sly-use.helper="${'helper.js'}"></sly>. I have tried referencing it data-sly-use.helper="helper.js" .