Easier CDN fallback support and IE 6-8 fix

See commit comments for details.