implemented simple writeStudentInfo and stupid javascript