add local js css and img in case the CDN is unavailable