Clean up code on index.html page