Add JS API
Move job js to external file, indicate unstarted tasks better