add html previewer feature