Refactor dummy job endpoints into jobs.js. (#23)