code: function(url, paramsObj) {
      if(!paramsObj || typeof paramsObj !== "object") {
          return url;
      }
      
      _.each(_.keys(paramsObj), function(paramName) {
          var string = paramsObj[paramName];
          if (typeof string === 'object') {
              string = JSON.stringify(string);
          }
          url = addParam(url, encodeURIComponent(paramName), encodeURIComponent(string));
      });
      
      return url;
  }
docs: Returns the URL with all of the parameters added to it. If the paramsObj is null or undefined, the URL is returned untouched. paramsObj contains key/values of all of the parameters.