Changes to html viewer