move the pageinit event to the page widget, docs deprecation to follow