making an easy path to html5 and fixes for native clients