Actually why don't you reuse the query params `getChangelist` function. It's only slightly overkill for our uses here but would rather not have the code bloat. 

See: https://github.com/tildeio/router.js/blob/master/lib/router/router.js#L57