clear pending calls to setInterval on page change
added restoreSetTimeout and restoreSetInterval methods