moved viewer to index.html