Fixing node warnings if >10 instances of PhantomJS launched.

This commit extends commit 0a0d1ac57ecf1e8fbac3e3b2447f8825df1321c9
so that it works even if no --browser is specified on the command line.