Need example to send multiple queries in a single transaction at the same time, using JavaScript

I want send multiple irrelevant in one transaction at the same time, to reduce the delay and the number of tcp connections. But I can't find the example code in online the documents.
Help me!
Thanks very much!