Fix examples.
Fix prepublish script (only use waypoints.js).