Refine HTML Viewer example