Created index js