Refactoring the JOB.js code into a library, it is far from working right now, it needs a very heavy refactor.