sniff global as window or global due to new CSP in browser