Costs in the first instance shall be paid by the complainant, but if the dog is adjudged a nuisance, and the owner is known, judgment shall be entered against the owner therefor.