Update traversing.js