Optimized real_test.js output formating.