Added support for setInterval() / clearInterval()