Increase infinite scroll stability
Wrap foundation initialization with document ready and IIFE