Fix queryParams parsing to run when DocumentReady execs, without window.onpopstate.
Use queryParams["g"] to suppress geolocation (?g=0).