Updated walk.js to be re-entrant.

Should fix #20.