adding waypoints.js