Changed main.js back to server.js