Revert "replace Handlebars with UI"

This reverts commit 1663879f6c0b5bc961ddd04cff3dad56ff0186d7.