Move js jobs out of min block