Updated server.js to get open shift port