Fix for adding CSS when CDN specified

This fixed the issue of the CSS not being added when uising CDN.