removed unused variables in server.js