Added some comments and updated the nodejs server.