adjust js
Add index page