ex++) {
          if (data[index].alias == '')
            optionText = "url: " + data[index].url + " (" + data[index].protocol + ")"
          else
            optionText = data[index].alias
          $('#selectRegistryInput').append('<option value="' + data[index].id + '">' + optionText + '</option>');
        }
      })

      //Populate the Simplestreams dropdown in addModal
      $.getJSON("{{ url_for('api') }}/simplestreams/list_simplestreams?id="+serverId, function (data) {
        data = data.data
 