Fixed foundation loading on child pages