switched to html5 location mode