Made js log output a one-liner.
Some fixes to python output.