added index.js to repo, so that it works after npm install