How to use script in Raw HTML element box?

When I try to add a script inside a Raw html-elementbox on the homepage of the News theme the script only renders nonsense text at the front end. How fix that?