move to setInterval from nsITimer