added index.js to files