Fix type in server.js