Restore at least closure around index.js
Merge pull request #24 from Versal/fix/wrap-in-closure

Restore at least closure around index.js