-setNativeToJsBridgeMode() and poll() can now be used via the JS interface exported via addJavascriptInterface. -prompt() now forwards calls to this class so that the logic will be the same whether prompt() or the JS object is used.