added waypoints.js