fixed the code to initialize the metadata table.
Updated index.html