querystring parse/stringify for the browser and node.js