Effective interaction in quasielastic electron scattering calculations