prevent someone from sending the ajax to pass the examination