Rattling noise in the back of my TJ

My hardtop rattled every time i went over a bump. I added some weather stripping on the top of the tailgate so the window couldn't move and rattle.