added optional CDN support

For those who want to give it a quick try.