Improved Node.js request load balancing

Closes GH-1322. Thanks to Charles Vallières for the analysis.