If searching for contents in main view, the rendering of comments (if activated) use:
document.write
But this instruction that add text in the html when called during rendering, will just blow up the whole page when called after the end of the rendering.
So when such an inscrtruction is loaded in ajax, the whole page is blown up