Added the page redirection script

The script will navigate to the thank-you.html page upon successful
submission.