code: function parseQueryParams(location) {
    var params = {};
    var query = unescape(location.search.substring(1));
    var vars = query.split('&');
    for (var i = 0; i < vars.length; i++) {
      var pair = vars[i].split('=');
      params[pair[0]] = pair[1];
    }
    return params;
  }
docs: Parses query parameters from Location.
  @param {Location} location The URL to generate the CSS url for.
  @return {Object} Dictionary containing name value pairs for URL