Refactored index.html with semantic elements
added maintemp.js file for reference