ecmscript: Add showtime.notify()

Fixes #2338