Whenever the prosecutor of any county shall bring an action, as authorized by the laws of the United States, to enjoin a nuisance as defined by the laws of the United States, all necessary expenses incurred thereby, certified to and approved under his hand by a judge of the Superior Court shall be paid by the county treasurer whenever the same shall be approved by the board of chosen freeholders of such county.
N.J.S. § 2A:158-8