added more features to the webview sample
issue #1