HubSpot/ChiliPiper multi-form bug fix
Created by: bretthayes
What should this PR do?
This is a follow up to #5179 and fixes a bug where HubSpot and ChiliPiper would have unexpected loading results due to the scripts being loaded more than once on the same page. This caused the ChiliPiper scheduler to hang (noted here).
This solution improves the ability to have multiple HubSpot forms of the same type on a single page where designs request it.
How to test
Check out the following pages:
- /fixing-vulnerabilities
- /accelerate-developer-onboarding
Test each form with `[email protected] and ensure the form submits and the ChiliPiper scheduler displays in a modal and doesn't hang with a loader.