Remove onpageshow event as it is no longer needed