traversing.js fixes