Update index.js

Took suggestion from Raymond...