reseting digits array to evict problems with page that doesn't reload

Hi, 

That code solve a problem with pages that doesn't reload. The problem occurs when we use a strategy to keeps the current page instance alive and change only body content via ajax (In my case i'm using turbolinks). After i change a page that contains the counter display and return to back, the counter display doesn't show correct numbers.