Simplify CSS file load detection