Cross origin access by window.name