"It shall be lawful for any Justice of the Peace, before whom any person shall be taken as aforesaid, and charged without any formal information, with a breach of either the first two sections of this act, to enquire into and adjudicate upon such charge in a summary way, and, on conviction, to direct that such person shall pay such fine or penalty as is hereinbefore provided, and, in default of im" . . . .