redesigned js toolbar controls