logging with javascript-debug