Fix index js