added ui.js with test bars