use visibility API to limit refreshing
use visibility API to limit refreshing

People are leaving the page up all day and blowing through my API
request quota.  This limits updates to only happening when the page is
in a visible tab and window.

joeshaw/mbta-bus