created server.js as copy of app.hs