modify index.html for grid