This New Jersey statute provides that the collected sum from dog taxes shall be used by a municipality to make good any loss which may be sustained by any person by the destruction or wounding of his sheep, lambs, domestic animals or poultry, except dogs and cats.