Map instance synchronisation via nodejs and socket.io