xmlhttp.responseText = "Bob , Brittany , Brian"

var txt=xmlhttp.responseText;
var txt2 = txt.slice(0,txt.indexOf(","));

slices off Bob.

How do I get all three into a var with line breaks between them so I can display them with

document.getElementsByTagName('body')[0].appendChild(div);
document.getElementById('link_container').innerHTML=????????;