Use Date.now() for stats page countdown

Instead of relying on window.setInterval being reliable, use whatever
the current time is to calculate how far away the next payout is.

This should work much better with browsers that don't fire timers in the
background.