changed to us NSNotification to know when page has fully loaded.