user leave now uses the html5 bridge