you want to delete "${this.title}"" from the queue?`
        )
      ) {
        $.get(this.href)
      }
  });

  $(document).on('click', '.up-button', function (e) {
    e.preventDefault();
    $.get(this.href)
  });

  $(document).on('click', '.down-button', function (e) {
    e.preventDefault();
    $.get(this.href)
  });

  $(document).on('click', '.confirm-clear', function (e) {
    e.preventDefault();
    let prompt = window.prompt(
      "Are you sure you want to clear the ENTIRE queue? Type 'ok' to