or common council shall fix the salary of such judge or justice; and such city may also in its charter provide that the city commission or the common council may provide for a clerk and 1 or more deputy clerks for such judge or justice to be paid such salary, give such bond and perform such duties as shall by ordinance be prescribed and such clerk and deputy clerks shall also, by virtue of their o