Fix JavaScript print format from compiler