var s = $('.title-1').html();
var occ = s.match(/\{\{(.*?)\}\}/g);
$.each(occ, function(key, value){
value = value.replace("{{", "");
value = value.replace("}}", "");
var get_parameter = getAllUrlParams()[value];
var title = $('.title-1').html();
if(get_parameter != undefined) {
$('.title-1').html(title.replace("{{"+value+"}}", decodeURIComponent(get_parameter)));
}else {
$('.title-1').html(title.replace("{{"+value+"}}", ""));
}
});