Updated walk.js to be re-entrant.

Because of the conversion of Windows CRLF to Unix LF, I had to rebase the PR at #63.