Ad 1. Yes, ePUB uses XHTML
Ad 2. No, the ePUB v2 specs do not allow for javascript and most readers do not support it. In v3 of the specs it should be. However, that is not supported by a lot of readers (only 2 I believe to some extent).
You can look up the specs at the IDPF site.
|