Updated server.js and added node modules
server.py now handles url params correctly