Fix ui.js for lint.