add html generator to UI