var getAttrElement = function(attr) {
var toret = $('<div>');
toret.append(templates.string({name: attr.name, value: attr.value}));
return toret;
var getAttrElement = function(attr) {
var toret = $('<div>');
toret.append(templates.string({name: attr.name, value: attr.value}));
return toret;