Section 25. District courts in the towns in which the bridge terminates, shall have jurisdiction of complaints for the violation, on such bridges, of the five preceding sections.