updated app.js to show elements