Added ui.js. Fixed temporary change (that shouldn't exist in master).