use require-text to load ui, and simplifly build