server file

Edited server file
main.js

updated the main.js file