second attempt at queryParams[]

Removed window.onpopstate and run code to initialize queryParams[] on document ready.
Use queryParams["g"] (?g=0) to suppress automatic geolocation.