[javascript] Easy way to turn JavaScript array into comma-separated list?