better v8 printing, and depth checking in jsprint