A simplified, browser-safe timer class. This class serves the same purpose as
java.util.Timer, but is simplified because of the single-threaded
environment. To schedule a timer, simply create a subclass of it (overriding run) and call
schedule or scheduleRepeating.