enable viewing through index.html