Update index.js

keep this style ?