//if (window.location.href.match('search') == null)
    Exhibit.jQuery(document).ready(initializationFunction);
@@ -1,6 +1,4 @@
-//
 if (
@@ -42,16 +42,17 @@
 == null)
+%7B
 %0A    Exh
@@ -103,8 +103,132 @@
 nction);
+%0A%7Delse if (Exhibit.SelectionState.currentAssetType == %22All%22)%7B%0A    Exhibit.jQuery(document).ready(initializationFunction);%0A%7D%0A

fix loading exhibit for different cases