utente javascript variable added to template