Optical excitation and electron donation at the surface of MoS2