revert html5 location mode.