View trace() output in JavaScript console