Is the issue happening somewhere that you could share? If not, do you happen to have the targetGlobalSettings as an object anywhere?window.targetGlobalSettings = {
cookieDomain: 'asdf.com',
timeout: 200, // using custom timeout
visitorApiTimeout: 500, // using custom API timeout
...