change js to use CDNs