updated node.js implementation section for websocket usage