added waypoint.js