. . . it shall be the duty of the said commissioners, bailiff or justice of the peace, to suppress, extinguish and prevent all bonfires in the town, or in any of the streets, lanes or alleys of the said town, and to suppress or prevent the firing of guns, pistols or the letting off of fireworks . . . .