code: function(string) {
  		var obj = {};
  		if (typeof string == "string") {
  			string.split("&").forEach(function(part) {
  				var arrPart = part.split("=");
  				if (arrPart.length > 1) {
  					obj[arrPart[0]] = part.replace(arrPart[0] + "=", "");
  				}
  			});
  		}
  		return obj;
  	}
docs: private method: convert query string to key-value object