Update Resources/ui.js