Revert "Update index.js"

This reverts commit 18408092df0eeb71e16a477a92d0c9b76b275631.