add custom events

page_load: triggers when a page is loading
page_loaded: triggers when page is done loading