Revert "Update index.js"

This reverts commit 521ceeae39bf55f0560dd58489a5113866cebab8.