No.
I'd advise against using javascript in your epub books in general. Here's what the OPS spec says about <script> elements:
Quote:
Reading Systems must not render the textual content of the script element, and should not execute the script itself.
|
[emphasis theirs]