onmessage = function (e,f) { username = e.data.username; server_url = e.data.url; }
w.postMessage({user:username,url:server_url})