function attemptToInitializeProofFactorWithEmbed() {
if (document.getElementById(‘juicier-container’) === null && document.body && window[‘PROOF_FACTOR_WIDGET_SCRIPT_LOADED’] === undefined || window[‘PROOF_FACTOR_WIDGET_SCRIPT_LOADED’] === false) {
var proofDiv = document.createElement(‘div’);
proofDiv.id = ‘juicier-container’;
proofDiv.setAttribute(‘data-account-id’, ‘d2YM8aqKimYvE6oWRC83OT8huvK2’);
proofDiv.setAttribute(‘style’, ‘position: relative;bottom: 0;left: 0;’);
var proofJS = document.createElement(‘script’);
proofJS.type = ‘text/javascript’;
proofJS.src = ‘
https://cdn.one.store/javascript/dist/1.0/jcr-widget.js?account_id=d2YM8aqKimYvE6oWRC83OT8huvK2’;
proofJS.setAttribute(‘defer’, ”);
document.body.appendChild(proofDiv);
document.body.appendChild(proofJS);
}
}
attemptToInitializeProofFactorWithEmbed();
document.addEventListener(‘DOMContentLoaded’, function (event) {
attemptToInitializeProofFactorWithEmbed();
});