code: function (searchParams, otherParams) {
                  var mergedParams = extend(searchParams, otherParams),
                      paramKey,
                      searchString = '';
                  
                  for (paramKey in mergedParams) {
                      if (mergedParams.hasOwnProperty(paramKey)) {
                          if (!searchString) {
                              searchString += '?' + paramKey + '=' + mergedParams[paramKey];
                          } else {
                              searchString += '&' + paramKey + '=' + mergedParams[paramKey];
                          }
                      }
                  }
                  
                  return searchString;
              }
docs: Set strict routing that /buckets/test/abc is not the same as /buckets/test/abc/ adding the slash at the end denotes creating a folder and not a file