Update index.js

cleanup