Belki işinize yarar:

mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.setWebChromeClient(new WebChromeClient());

Kaynak: https://stackoverflow.com/questions/5271898/javascript-alert-not-working-in-android-webview