Waypoint used to run a function
$('section.search').waypoint(function(){
$('#lineOne').lazylinepainter({ // Lazy Line Painter plugin
"svgData": pathObj,
"strokeWidth": 3,
"strokeColor": "#FCBB30" // yellow
}).lazylinepainter('paint');
});
// Using Offset
$('.footer').waypoint(function(){
alert("Stop!");
}, {
offset: 400
});