Javascript images are being repeated as number modules increases
===

I am working on dotnetnuke module development . I have developed a module . 3d hover effect, uses a javascript . The javascript is,``$item.find('img').end().append($struct).find('div.slice').css('background-image', 'url(' + img + ')').prepend($('<span class="" ></span>'));`If i use this images are increasing . Ex if i use 5 module s, 5 images are displaying . 