changed app.js for deploy