added optional CDN support for #408
Merge pull request #409 from jdorfman/master

added optional CDN support for #408