Spectral energy distribution of the first galaxies: contribution from pre-main-sequence stars. (21st June 2019)