[UI] Fix typo in JavaScript