Section 144. If a place or building so assigned becomes a nuisance by reason of offensive odors or exhalations therefrom, or is otherwise hurtful or dangerous to the neighborhood or to travelers, the superior court may, on complaint of any person, revoke such assignment, prohibit such further use of such place or building, and cause the nuisance to be removed or prevented.