$('#logoSpace').on('click', '[id^=deleteimagebutton-image]', function(event) {
  event.preventDefault();

  const $element = $(this);