Queue Test 3 adds an event handler to each span, and removes it when finished. See http://www.crockford.com/javascript/memory/leak.html