added initial index.js