Added analytics and rebuild of JS files