rem: var pairs = this.match(/^\??(.*)$/)[1].split('&'); 
add: var match = this.strip().match(/[^?]*$/)[0]; if (!match) return {}; var pairs = match.split('&'); 
context:   toQueryParams: function() {    var pairs = this.match(/^\??(.*)$/)[1].split('&');    return pairs.inject({}, function(params, pairString) {      var pair  = pairString.split('=');      var value = pair[1] ? decodeURIComponent(pair[1]) : undefined;      params[decodeURIComponent(pair[0])] = value;      return params;    });  },
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/prototype.js/clean/www/resources/prototype/prototype.js