Update judge.php

fixed some stuff, added name support