socket.io with canvas