code: function(dictionary) {
              var o = [];
              var val;
              for (var prop in dictionary) {
                  val = '' + dictionary[prop];
                  o.push(encodeURIComponent(prop) + '=' + encodeURIComponent(dictionary[prop]));
              }
              return o.join('&');
          }
docs: Converts an object literal to an encoded querystring key/value string.