Forgive me if my net vocabulary is incorrect. I'm using javascript in a header at f*ck Yeah Sports. I use it for smooth image transitions. I have the javascript in my header and javascript images in a div (#headline). I hide this div with (display:none) on every page except the front page. The div disappears on every other page, as expected.
The problem is, the javascript (the images) aren't disabled and they show up on the top left of the browser instead. At first I didn't notice it. It takes a couple of seconds for it to show up and then it appears and disappears.
See the issue for yourself: f*ck Yeah Sports
How do I correct this (hide/disable it)?