Fix improper use of $this in JobController