Update assets/www/scripts/ui.js