better server.js