Update index.js

Persistent variables?