Calculation of the quasielastic response of 4He