clean js files and update to add routing to the node server