Use DOM to transfer data over between different windows and domains