Okay I managed to figure this out myself using jquery. I just did a count on the number of children of the queue and used that number to determine whether an item had been uploaded to the queue or not.
My code ended up resembling this...
if ($("#upload-queue > div").size() == 0) {
// the queue is empty
}