server: replace server.js