use nodejs stdout for printing results under -D nodejs

Use the process.stdout api from the nodejs on haxelib.