Get correct endtime of last judging.
Fix HTML validation errors on new submission page.