Section 85. If railroad corporations, railway companies, counties, cities, towns, or any of them, jointly or severally, are charged with the duty of maintaining or repairing any such bridge under any provision of law, agreement, or decree of court, and if the parties so charged with such duty refuse or neglect to carry into effect such decision within a reasonable time, any other such party may apply to the superior court, which may in equity enforce such decision.