A little utility JavaScript for setting and getting query parameters.