fix js and teacherprofile model