Create waypoint.js