Update index.js

Just a little fix.