Changed .listen(1337) to .listen(process.env.PORT || 1337)