fixed compile error in server.js