updated index.html to include scripts and templates