Update vanillatree.js