Cornerstone seems to be conflicting with custom script

Hello,

I’m not a JS expert so I’m looking for some help with an issue that recently came to fruition after updating Cornerstone. Our site uses Salesforce’s Web-to-Lead form on our contact page. I recently updated the page using the Cornerstone builder and a script that I had running in the header of the page is no longer working correctly. The script checks the email field within the Web-to-Lead form to ensure we are not receiving unqualified leads with a gmail, yahoo, hotmail, etc… email address. Any help to get this script working is appreciated.

The page is located here: http://www.streamlinx.com/start-a-conversation/

The script is below:

This is an automated message to notify you that your thread was posted in the wrong forum, and it has been moved to the correct place. A member of our team will be happy to reply just as soon as your thread is up. How support works.

For support, please post all questions in the Support Forum.

For peer to peer conversations with other Themeco customers about tips, customizations, or suggestions you are welcome to use the Peer to Peer (no official support provided here).

For Design & Development, Marketing & Media, and Hosting & Optimization discussions you are welcome to use the General Forum to discuss with fellow Apex members about non Themeco related topics. Please keep this in mind in the future.

Thank-you!

Hello There,

Thanks for writing in! It appears that you have installed WP Super Minify plugin and WP Fastest cache. Please keep in mind that after doing every updates and even simple site changes, always remember to clear all caches when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Please let us know how it goes.