used javascript join to add names