reindent index.js