update readme and refactor node method

- update readme on how to fix the cannot find npm module in node
- refactor the nodeServer.js file