I don’t know how to describe it correctly ... when you click on a link, the site uploads content to the div, there are pictures in this content that increase when you click (fancybox), but they don’t work (js must be connected inside). I connect js - everything works, but after several clicks on the links the site starts to blunt (hangs when you click on the link). As I understand it, js accumulates and the browser can not cope.
What do you advise to do?