clear index.js