Defer loading assets until page loads