Some project require the incoming query string to be grab, parsed and added to links on the page. The following piece of JS does that.