Should any section or provision of this act be held to be invalid by any court of competent jurisdiction, the same shall not affect the validity of the act as a whole or any part thereof other than the portion so held to be invalid.
N.J.S. § 45:19-27