Update Pather.js

make sure the waypoint menu is opened in Pather.useWaypoint in case
"check" is set to "true"