updated javascript for the job post status