first time load index.js