chcange custom.js to ui.js