cleaned up index.html code