update demo link and CDN code snippet