These municipalities in which at said election the question is approved by a majority of the legal votes cast in each, both for and against such question, shall, as of January 1 next following said election, unite in the support, maintenance and control of a joint free public library in accordance with such joint library agreement.
N.J.S. § 40:54-29.8