Add alert to student portal js