Update server.js

unused code