moved resources to index.html