Provides functions compatible to DOMWindow's timer features for Firefox/Thunderbird addons