In the end, I had to take out my beautiful JavaScript-based gallery and present the "degraded" experience all the time because after it went live, pageviews dropped "dramatically" and the ad people didn't like that.
In retrospect, I probably could've just refreshed the ads via JavaScript when I transitioned to a different photo, but the potential drop in ad revenue meant I was having to work quickly...