Update Pather.js

You've got to add a delay or the while loop eat all the memory !