The Util class should provide setInterval and clearInterval. This makes it easier to test, and easier for different platforms to provide their own implementations.