add div in index.html, little changes in main.js