made javascript better in undergradcandidacy