Javascript doesn't like sleep :( Updated walkpath