improve webview coding style