All incorporated towns are hereby empowered to prohibit and remove any nuisance, including but not limited to, accumulations of garbage and rubbish and the storage of abandoned or junked automobiles and to prohibit and remove any dangerous structure on public or private grounds, or to require the removal of any such nuisance or dangerous structure by the owner or occupier of such grounds, in default of which the town may cause the same to be done, and collect the cost thereof, together with a penalty of fifteen per cent of such cost, in the manner provided by law for the collection of municipal claims, or by action of assumpsit, or may seek relief by bill in equity.
53 P.S. § 53175