Update index.js

This fixes #180