Sync a variable on the client and the server using Socket.io and Object.observe