Function spaces of completely metrizable spaces