updated .gitignore and index.js