Activity index js & Y template