I'm using the code from this site to create a customized suggest list:

My question is how can I automatically add a comma after a word/phrase is selected from the suggestion list using javascript, therefore allowing the user to just continue on typing another word without having to enter a space or a comma...

Javascript being used is located here:

Thanks, help if you can.