Parse query strings for the browser