Updated app.js with current variables