server.js file cleanup