Hi,
You can add it as a expression with escape content set to no on the screen.
Or in the preparation use the action RunJavascript that is on the extension HTTpRequestHandler
Update: Forgot the simple way that is include that script on the Javascript property of the webblock (in this place the JS cannot be dynamic)
Hope it helps you.
Marcelo