refactored node/socket.io code, changed how notes are displayed