index and map and data js object added