$(`#${div.id}`).on(\'itemAdded\', function(event) { $.ajax({ url: `newAlias?command=${div.id}&alias=${event.item}`, type: "POST",