Back end for annotator with nodejs, express and socket.io