Fix JS coverage directory not generated