A quick demo to show the usage of the PageVisibility API