I suspect that security is also a factor. A bad actor could potentially do a lot more damage with a deliberately malformed e-book that has JavaScript in it compared to one that doesn't, so since most e-books don't need JavaScript, it's both easier and safer to leave it unsupported.
|