Optimised html viewer