added code for the node JS webserver