When i try to add a script bracket in HTML macro on Confluence cloud i receive an error message when i try to "publish" the page.

Doesn't matter what script i put in the script bracket it all ends up like this.
According to the HTML macro site on the web-store i should be able to add javascript.
Have you seen this error before and if so, any possible way to solve it?
Br
Filip