Added options parameter cdnAssets and cdnUrl.