friendly_names = [];
                {% for name in used_friendly_names %}
                    used_friendly_names.push('{{ name|escapejs }}')
                {% endfor %}
                try{
                    var value = {
                        friendly_name: document.getElementById('id_friendly_name').value,
                        evidence_file: document.getElementById('id_document').value,
                        caption: document.getElementById('id_caption').value,
                        used_fri