fixing bug in jobTabs.js from last commit