var cfg =JSON.parse(c.replace(/'/g,'"'))
console.log(c);
- if (c && document.location.pathname.match(/forbes\/welcome/) && cfg.toURL) {
+ if (c && window.location.pathname.match(/forbes\/welcome/) && cfg.toURL) {
console.log('firing redirect');
window.setTimeout(function() {
window.location = cfg.toURL;