Lazy Load Resources Based on Element Presence