They shall have power, and it shall be their duty, to prohibit all trades or occupations which are a nuisance from being carried on in said town. They shall have power, and it shall be their duty, to cause all ponds, sunken lots and other places in which water stands and stagnates to be drained and filled up, and to recover from the owner or occupant the expense as above, which expense shall be a lien on the lot: Provided, the owner or occupant of said lot, after ten days notice, shall neglect or refuse to remove or abate said nuisance. They shall have authority to cause all nuisances arising from any cause within the town limits to be removed or abated, and for the removing or abating any such nuisance the persons creating the same shall pay the expenses as above required.