Costs 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 for such costs.