First pass of page_visibility.js