Converted ui.js in UIDefaults object.