add a delegate to be notified web the webview is loaded