added server.listen() to regret.js