Dynamical evolution of isothermal density perturbations in the early universe