E∞-model for a mapping space