Update index.js

Fix dup