NXP-13309: fix invalid DOM after ajax rerender on content view listing, by moving jquery script (handling sort tooltips) inside the th tag