index.js work