[UI][JS] Minor fix in map