Edited app.js