Heavy refactoring of job_result page
Missing some refactoring