All costs, charges and expenses incurred by the municipal clerk or any other officer or official of a municipality in carrying out the provisions of this title shall be paid by such municipality except as herein otherwise provided.
Where any election is held in and for a municipality only, all costs, charges and expenses, including the compensation of the members of the district boards of the municipality and the compensation and expenses of the county board and the clerk thereof, for such elections, shall be paid by the municipality.
N.J.S. § 19:45-5