ECMS-4332 Content Explorer- Thumbnail View: Fix bug javascript after change structure and removing dom