I think we should set item.element.src = '' since the URL already became invalid, but I'm unsure if this helps freeing memory. Anyway I add it here and in the deleteCurrentItem() method. 

Should I also add it in addItem() and clear() methods? addItem() removes the oldest element and clear() removes all of the elements.