handle indent of index.js