update index.html (require main js)