add component.json and fix index.html