snippet for getting the querystring parameters of the current page