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 {@link #run}) and call {@link #schedule} or{@link #scheduleRepeating}.