We're trying to browsify the client and `Object.keys` will eventually fail for many old browsers. That's the concern I have. The following is a better option:

    var params = querystring.stringify(opt_params);
    if (params) {
      url += '?' + params;
    }