Section 7. And be it further enacted by the authority aforesaid, That it shall be lawful for the said mayor, aldermen and citizens of Philadelphia, aforesaid, to provide for the punishment of any person or persons who shall commit any nuisance contrary to the intent and meaning of this act, and of the ordinances which may be passed by virtue thereof, and of any person or persons who having committed any such nuisance, shall, after notice, refuse or neglect to remove the same.