> Wait, so you could actually do all of that and then let it interact with APIs as well?
With epub? I hope not!
> I guess it depends on what reader you're targetting then. A quick cursory search shows that not all of them support JS. Makes sense to me.
Any epub reader supporting javascript would very much be an antifeature.