1. refactor index file 2. add main.js