remove server ref from server.js