A little browserify-able shim/wrapper for the Page Visibility API