Landing page loses script tags placed in base.html.twig after saving in grapejs

Your software
My Mautic version is:5.1
My PHP version is:8.2
My Database type and version is: maria db 10x

Your problem
My problem is: Create Landing Page with jquery

These errors are showing in the log: Js are stripped out after saving in Grapejs builder

Steps I have tried to fix the problem: So I am not even sure that I can use jquery in a landing page. I got a theme from Envato it has about 10 js scripts would like to use it but when I save the page and review the js is stripped out. Is there a way to overrride this?