Two-way cell drawing with socket.io