Reformat index.html for tabs