The several boards of supervisors shall have the power and authority, for the purpose of constructing, maintaining, and repairing any such sea wall, sloping beach, or other protection, to purchase, maintain, and operate one or more dredges, together with all necessary machinery, tools, and implements for the operation thereof, to employ necessary engineers and laborers to operate the same, and to insure such sea wall, sloping beach, or other protection against loss by hurricanes, tide water, cyclone, tornado, and risks of all kinds; and the board may pay for the same out of any funds available collected and paid into the treasury by virtue of this chapter.