fix typo on api-server.js:15