htmlViewer prototype added