Significantly reworked jobTabs.js to make further changes easier on us