Fix JS for input job adding