Javascript Join Array Of Strings With Delimiter In Sql