Update index.js

Undid changes