added hidden variable to app.js