stop periodic refresh when page is hidden

with 3s refresh interval = 1200 request/h x team member to have the build pipeline open in a browser tab, Jenkins receive a bunch of request even view isn't the active tab on browser and should be "hibernated" as other jenkins dynamic components are.