Adding index.html
main.js: Making main function IIF