get better loggin in js-test-agent