: Turning off the updating when the tab isn't active
When the tab is not visible from the user, the livestats refresh are
stopped. As soon as its visibility changes (from visibilitychange
API), the livestats are refreshed as usual.
This will prevent unnecessary calls to the different services when the
tab is hidden from the user.