Update JS file to CDN and limit to homepage