You keep your own form and styles. The script draws the firm's consent wording and boxes into it (mountConsent), checks and sends the lead (Subcontext.createLead), and opens the chat after the form, if it has one (openChat).
mountConsent
Subcontext.createLead
openChat