CLOTHING

} grecaptcha.render(id, { 'sitekey': '6Lf28j0UAAAAAGIzIHiUlfw83lqdblrub7u77hce', 'callback': onSubmit }); }; formsToProtect = ["customer-account-create","account-create"]; formsToProtect.forEach(function(item) { formToProtect = $$(item)[0]; if (formToProtect) { formToProtectOnPage = formToProtect; } }); if (formToProtectOnPage) { var recaptchaScript = document.createElement('script'); recaptchaScript.src = 'https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit'; recaptchaScript.attributes = 'async defer'; document.body.appendChild(recaptchaScript); }