fix index js