Could you just call these “interactive programs”?

Sure, it's just a bit of an "old" term that I wasn't sure the young'uns on HN would understand :)

Isn’t a JavaScript engine interactive ?

No regular user interacts directly with a JavaScript engine, not in the sense that they interact with a text editor, a video editor, an audio editor, a CAD application, a medical imaging application etc. etc. etc.