adding index.js