added js-functionality for hiding and showing span for bg-image (when
user chooses item for comparison and deletes it respectively)