Any person, firm or corporation violating any of the provisions of this chapter shall for each violation, upon conviction thereof, pay a penalty of not more than $1,000, plus costs of prosecution, or imprisonment for a period not exceeding 90 days, or both. Each day that a violation is permitted to exist shall constitute a separate offense.