I had a issue with it being in the box for the top advert, so I put it in the bottom box so that it's near the </body> tag.    Edit: I was talking about how I put the JS code in the footer, not the css way your using.