The owner or agent of a building or premises where and upon which a violation of any provision of these regulations shall have been committed or shall exist, or the lessee or tenant of any part of the building or premises in which such violation shall have been committed or shall exist, or the agent, architect, building contractor or any other person who shall commit, take part or assist in any such violation or who shall maintain any building or premises in which any violation of this chapter shall exist, shall for each and every violation, after plea, trial and conviction by the Municipal Court Judge, be imprisoned in the Middlesex County Jail for a period not exceeding 90 days or be fined not exceeding $2,000, or both. For each and every day that a violation is permitted or suffered to exist, a separate offense shall be construed to have been perpetrated.