updated server.js to be more compatible with azure