replace Handlebars with UI