update to server.js 1