Better joinPaths function
Change CDN link to "latest"