made the port in app.js to a var