Refactor get job detail urls