function profileGen(data, container) { let html = `
${data.avatar}
${data.name ? `
${data.name}
` : ""} ${data.realName}
`; $("#"+container).html(html); }