JS of professorScreen. Working