fixed main.js with post form and insights is now using CDN refs