Be it further enacted, that the mayor and council of said city shall have the right, power, and authority by ordinance, to regulate the keeping of gunpowder, dynamite, petroleum oils, turpentine, and any and all other kinds of explosives or combustible materials; to regulate the sale and use of firecrackers, torpedoes, skyrockets, and any other kind of fireworks; or to prohibit the use or firing of them, or either of them, within the limits of said city, and to prescribe penalties for violations of such ordinances.