Added a callback when a page is loaded on Cef