(a) Whoever in any trackless trolley coach, or gasoline or diesel-engine-propelled bus being used as a public conveyance for carrying passengers within this State, smokes or carries a lighted cigarette, cigar or pipe shall be fined not less than $5.00 nor more than $25.
(b) Justices of the peace shall have jurisdiction of offenses under this section.