Update index.js

More pouchDb Fix