Why is JavaScript required for ads?
I run several websites where advertisers pay to be on the website so that their brand can be associated with the content, and get viewed — just like a billboard or a TV commercial. None of them have Javascript. They're just plain images and links.
Also, a lot of ad content is "rich", animated, etc, also scripted.
In 1990s and early 2000s ads were mostly just images ("banners") served by an ad network, or even text links, without any scripting.