Update index.js

Corrected usage example