convertir objeto a URL JavaScript
var params = { width:1680, height:1050 };
// Using VanillaJs
Object.keys(params).map(function(k) {
return encodeURIComponent(k) + "=" + encodeURIComponent(hipChatSettings[k]);
}).join('&')
//using jQuery
var str = jQuery.param( params );
Bug Killer