fix Webbrowser.execute_javascript() method