Update index.js

Tweaked