added javascript methods for Android WebView