That's a good point. I agree that it would make sense to render the HTML only after the dependent resources are loaded. I'll make that change.