Forgot to mention to change server.listen(...) to app.listen(...) when switching to Express