for heroku, add stupid $PORT or fallback to default 3000
i wrote bad code this time, not heroku BS!