aded index.js