Thank you for you assistance. This seems to have solved the issue as people have been able to successfully join our mailing list now.
I checked with my web developers this morning and there is a security plugin that is adding the javascript to the bottom of the page. They would prefer to keep it if possible and work with your snippet.