js for student profile