```
function appendEdition(params, edition) {
  var edition = "_gu_edition=" + edition
  return ((params.url.indexOf('?') > -1) ? '&' : '?') + edition
}
```