Modify app.js to show log