removed some debug code
updated server.js