Alex|Geof: cleaned up webconnection JS.