ts': {{_('Description')|safe|tojson}},
    'source': {{_('Source')|safe|tojson}},
  };
  var language = '{{ current_user.locale }}';

  $("#add-identifier-line").click(function() {
    // create a random identifier type to have a valid name in form. This will not be used when dealing with the form
    var rand_id = Math.floor(Math.random() * 1000000).toString();
    var line = '<tr>';
    line += '<td><input type="text" class="form-control" name="identifier-type-'+ rand_id +'" required="required" placeholde