Fix NPM install issue

The all-important index.js was getting lost when doing 'npm install'. For once, I can't blame Node.