At the moment we have no better way than the ones I suggested.
Yet - I still think it should be simple to create a generic callback
function that you bind with an additional parameter that is kept on your js
code, and is used to map the returning query to a specific logic (or to
learn the order of
Thank you for the suggestion!
An issue does occur though, since the user is allowed to specify the
number of items they wish to compare, each with its own query, I won't
be able to specifically make a unique callback function for each
query. I thought about maybe cycling different callbacks based