Added onload trigger to RP.get_page