control one page with another via socket.io