created a javascript program that will return the values from a URL's query