Hi Danny,
Using <script>
tags (or any HTML) in the Display text property was never officially possible. In order to avoid XSS attacks, HTML tags are not allowed in this property.
If you need to do a complex action upon form submission, we recommend using the Redirect to URL option instead, where you can execute your script on the confirmation page.