jquery - replace CDN with local & back to top links