Update Pather.js

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