index js changes