JS of professorScreen. Not tested