removed html markup from index.html and moved to renderHomeView in main.js